package com.woniu.outlet.client;

import com.woniu.inlet.web.fo.DataVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 拉取code信息
 */
@Component
@FeignClient("finance-product")
public interface PullCodeMsgFeign {

    @PostMapping("/product/fund/allFund")
    List<DataVo> getAll();


    @PostMapping(value = "/product/gold/allGold")
    List<DataVo> getAllGold();

}
